<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
    <head>
        <title>是什么店？You will get a big surprise!!!</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta name="keywords" content="surprise" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <script type="text/javascript" src="/shishenme/Public/js/jquery-1.8.1.min.js"></script>
        <script type="text/javascript" src="/shishenme/Public/js/layer/layer.min.js"></script>
        <!--
        <script type="text/javascript" src="/shishenme/Public/js/html5shiv.js"></script>
        <script type="text/javascript" src="/shishenme/Public/js/layer/html5shiv-printshiv.js"></script>
        -->
        <link rel="stylesheet" type="text/css" href="/shishenme/Public/css/style.css" />
        <link rel="stylesheet" type="text/css" href="/shishenme/Public/css/button.css" />
        <link rel="stylesheet" type="text/css" href="/shishenme/Public/css/table.css" />
        <!--
        <link rel="stylesheet" href="/shishenme/Public/faq-template/css/reset.css"> 
        <link rel="stylesheet" href="/shishenme/Public/faq-template/css/style.css">
        <script src="/shishenme/Public/faq-template/js/modernizr.js"></script> 
        -->
    </head>
    <body>
        <div id="header">
            <div id="logo">
                logo
            </div>
            <div id="login-btn">
                <a href="/shishenme/index.php/Home/Index/index/" id="admin-link">首页</a>
                <!--
                <a href="#" id="login-link">login</a>
                <a href="#" id="register-link">register</a>
                -->
                <!--
                <a href="#" id="login-link"><img height="61" width="188" src="/shishenme/Public/images/login-1.png"  alt="See what your surprise will be !" /></a>
               
                <a href="#" id="register-link"><img height="61" width="188" src="/shishenme/Public/images/register-1.png"  alt="See what your surprise will be !" /></a>
                -->
            </div>
            <!--
            <div id="menu">
                <div id="menu-item">
                    <a href="/shishenme/index.php/Home/Order/index/"><img src="/shishenme/Public/images/menu-item.png"  alt="See what your surprise will be !" /></a>
                    <h1>Order</h1>
                </div>
                <div id="menu-item">
                    <a href="/shishenme/index.php/Home/Faq/index/"><img src="/shishenme/Public/images/menu-item.png"  alt="See what your surprise will be !" /></a>
                    <h1>FAQ</h1>
                </div>
                <div id="menu-item">
                    <a href="/shishenme/index.php/Home/Contact/index/"><img src="/shishenme/Public/images/menu-item.png"  alt="See what your surprise will be !" /></a>
                    <h1>Contact</h1>
                </div>
                <div id="menu-item">
                    <a href="/shishenme/index.php/Home/Index/index/"><img src="/shishenme/Public/images/menu-item.png"  alt="See what your surprise will be !" /></a>
                    <h1>Index</h1>
                </div>
            </div>
              -->
        </div>
<div id="main">
    <div style="width:1200px; min-height:700px; padding:10px; /*border:1px solid #ccc;*/ background-color:#eee;margin-left: auto;margin-right: auto;">
        <div style="width:200px; height:660px; padding:10px; border:1px solid #ccc; background-color:#eee;float:left;">
            <p>管理菜单</p>
            <table class="dataintable">
                <tr>
                    <th><a href="#" id="order_list_link">订单管理</a></th>
                    <!--<td><input type="text" id="admin_name"/></td>-->
                </tr>    
                <!--
                <tr>
                    <th>礼物管理</th>
                </tr>    
                <tr>
                    <th>XX管理</th>
                </tr>    
                <tr>
                    <th>XX管理</th>
                </tr>    
                <tr>
                    <th>XX管理</th>
                </tr>    
                 -->
            </table>
        </div>

        <div id="main_content" style="width:940px; height:660px; padding:10px; border:1px solid #ccc; background-color:#eee;float:right;">
            <!--
            <p>订单列表</p>
            <table class="dataintable">
                <tr>
                    <th>订单号</th>
                    <th>金额</th>
                    <th>发件人</th>
                    <th>收件人</th>
                    <th>日期</th>
                </tr>    
                <tr>
                    <td></td>      
                    <td></td>      
                    <td></td>      
                    <td></td>      
                    <td>2015-03-20</td>      
                </tr>
            </table>
            -->
        </div>
    </div>

</div>
      <div id="footer">
            Copyright@ 宜昌德诺信息科技有限公司 鄂ICP备15005450号 版权所有
        </div>

    </body>
</html>


<script type="text/javascript">
    $(function() {
        $(":input").focus(function() {
            $(this).css({background: "#C2EBFF", border: "1px solid #600", });
        }).blur(function() {
            $(this).css({background: "#CCC", border: "1px solid #000"});
        });
        
        $("#order_list_link").click(function(){
            var args = {};
            $.ajax({
                type: "GET",
                url: '/shishenme/index.php/Home/Order/order_list',
                dataType: "html",
                data: args,
                success: function(msg) {
                    $("#main_content").html(msg);
                }
            });
            return false;
        });
    });
</script>